package com.jgy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jgy.entity.Systemlog;
import com.jgy.entity.vo.LogCountVo;
import com.jgy.service.SystemlogService;
import com.jgy.mapper.SystemlogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author light
* @description 针对表【systemlog(系统日志表)】的数据库操作Service实现
* @createDate 2023-03-31 15:35:09
*/
@Service
public class SystemlogServiceImpl extends ServiceImpl<SystemlogMapper, Systemlog>
    implements SystemlogService{
    @Autowired
    private SystemlogMapper systemlogMapper;
    @Override
    public List<LogCountVo> countLog() {
        List<LogCountVo> logCountVos =  systemlogMapper.countLog();
        return logCountVos;
    }
}




